package org.example.studentsystem_back.service;

import jakarta.servlet.http.HttpServletRequest;
import org.example.studentsystem_back.common.CommonResponse;
import org.example.studentsystem_back.domain.Counselor;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.studentsystem_back.dto.PageDTO;
import org.example.studentsystem_back.vo.counselorMangeVo.CounselorVo;
import org.example.studentsystem_back.vo.userManageVo.PageCounselorVo;

import java.util.List;

/**
* @author 黄照凌
* @description 针对表【counselors】的数据库操作Service
* @createDate 2024-07-10 08:33:08
*/
public interface CounselorService extends IService<Counselor> {
    CommonResponse<List<Counselor>> getAllCounselor();
    CommonResponse<CounselorVo> getCounselorByUserId(String userId);
    //获取当前辅导员信息
    CommonResponse<CounselorVo> getCurrentCounselor(HttpServletRequest httpServletRequest);
    CommonResponse<CounselorVo> updateCounselor(String userId, Counselor counselor);
    //分页查询
    CommonResponse<PageCounselorVo> getAllCounselorByPage(PageDTO pageDTO);

}
